<template>
  <div class="app-container">
    <el-button
      v-hasPermi="['abcdefg']"
      size="simall"
      type="primary"
      @click="abc"
    >test</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      affixTags: []
    }
  },
  methods: {
    abc() {
      const a = (this.affixTags = this.makearr(123))
      console.log(a)
    }
  }
}
</script>

<style></style>
